package com.bestcem.xm.user.service.dto.user;

import com.alibaba.excel.annotation.ExcelProperty;
import com.bestcem.xm.user.handler.excel.read.convert.UserStatusConvert;

/**
 * 导出用户数据
 * @author Linked <zhijian.lin@idiaoyan.com>
 * @version v1.0
 * @date 2022/6/17 21:57
 */
public class ExportUserData {
    /**
     * 账号名称
     */
    @ExcelProperty(value = "账号名称*")
    private String userName;

    /**
     * 姓名
     */
    @ExcelProperty(value = "姓名")
    private String name;


    /**
     * 邮箱
     */
    @ExcelProperty(value = "邮箱*")
    private String email;

    /**
     * 手机号
     */
    @ExcelProperty(value = "手机号")
    private String phone;


    /**
     * 所属组织
     */
    @ExcelProperty(value = "所属组织")
    private String groupNames;


    /**
     * 备注
     */
    @ExcelProperty(value = "备注")
    private String content;


    /**
     * 状态
     */
    @ExcelProperty(value = "状态", converter = UserStatusConvert.class)
    private String status;


    /**
     * 角色
     */
    @ExcelProperty(value = "角色")
    private String roleNames;
}
